/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package teste;

/**
 *
 * @author Caio
 */
public class Teste {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
        
        CelularFactory  fabricaSony = new FabricaSony();
        Smartphone smarthpone = fabricaSony.criarSmartphone();
        smarthpone.exibirInfo();
        CelularFactory fabricaNokia = new FabricaNokia();
        Comun comun = fabricaNokia.criarCelularComun();
        comun.exibirInfo();
        
    }
}
